package com.pwt.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import com.pwt.entity.base.BaseEntity;
import javax.persistence.*;
import lombok.EqualsAndHashCode;
import lombok.Data;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;


/**
 * 控制限公式配置表
 *
 * @author auto generated
 * @date 2021-09-29 09:53:59
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "[acceptance_limit]")
@Schema(name = "控制限公式配置表")
@DynamicInsert
@DynamicUpdate
public class AcceptanceLimit extends BaseEntity {

	/**
	 * 1-所有数据生成控制限，2-近125生成
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "type",description = "1-所有数据生成控制限，2-近125生成")
	@Column(name = "type", nullable = true)
	private Integer type;

	/**
	 * 公式说明
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "desc",description = "公式说明")
	@Column(name = "[desc]", nullable = true, length = 255)
	private String desc;


	/**
	 * 公式说明
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "value",description = "类型1-查询几个月数据，类型2-查询多少条数据")
	@Column(name = "value", nullable = true, length = 255)
	private Integer value;


	/**
	 * 公式说明
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "teil",description = "顺序的零件号")
	@Column(name = "teil", nullable = true, length = 255)
	private Integer teil;

	/**
	 * 公式说明
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "merkmal",description = "顺序的被测参数")
	@Column(name = "merkmal", nullable = true, length = 255)
	private Short merkmal;
}
